#ifndef _HELIX_SIMPLE_OPEN_GL_MESH_RENDERER_H_
#define _HELIX_SIMPLE_OPEN_GL_MESH_RENDERER_H_

#include "../../Helix.h"
#include "../../HObject.h"
#include "../../Domain/HelixMesh.h"
#include "../MeshRenderer.h"

namespace helix{

	/**
	*	This class implements MeshRenderer with a very simple algorithm that supports OpenGL 1.1 and later.
	*/
	class MY_CLASS SimpleOpenGLMeshRenderer : public MeshRenderer
	{
	public:
		/**
		*	This function is implemented using OpenGL 1.1 compatible rendering calls
		*	\param mesh Pointer to the Mesh object to render
		*/
		virtual void renderMesh(Mesh *mesh);

		/**
		*	Default Constructor
		*/
		SimpleOpenGLMeshRenderer() : MeshRenderer()
		{
		}
	};

}
#endif
